<div class="users form">
<?php 
echo $this->MForm->create($current_model,array(
	'url' => array('action' => 'runsql'),
));
?>

<fieldset>
            
    <div class="tab-content">
            <div id="article-main" class="tab-pane active">
            	 <?php
            	 	echo $this->MForm->input('sql',array('type'=>'textarea','rows'=>12,'label'=> __('SQL Commonds'),));
				 ?>
            </div>                	
    </div>
 
    
    <div class="form-group">
    	<label class="col-sm-2 control-label"></label>
    	<div class="col-sm-10 controls"><?php echo $this->MForm->submit(__('Submit'),array('id'=>'btnsubmit')); ?></div>
    </div>
</fieldset>
	{{$this->MForm->end()}}
</div>
